// BlackCat.js
// Local Parameters.

var appBackground = "#0ebde3";      // Global application background color
var appTopBanner = 0.12;            // Relative banner height
var appToolBar = 0.12;              // Relative toolbar height
var web_progress = 0.10             // Proportional size of the progress indicator

// Startup window size
var startWith = 800;
var startHeight = 480

var waitDuration = 3000;
var animDuration = 500;
var waitSplash = 3000;
var animSplash = 2000;


// Open a page and push it in the stack
function openFile(file) {
    // Create the Qt component based on the file/qml page to load.
    var component = Qt.createComponent(file)
    // If the page is ready to be managed it is pushed onto the stack
    if (component.status == Component.Ready)
        pageStack.push(component);
    else
        console.log("Error loading: " + component.errorString());
}
